package com.prj.ufdm.cloud.ms.core.model.code;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhengzixiang
 * @since 2019-09-20
 */
public class SysCodeItem implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private String id;

    /**
     * 参数编码
     */
    private String code;

    /**
     * 参数编码名称
     */
    private String codeName;

    /**
     * 参数值
     */
    private String codeValue;

    /**
     * 参数类别编码
     */
    private String sysCodeId;
    
    private Integer  ordinal;//排序序号
    
    private String enabledState;//是否启用
    
    
    
    public String getEnabledState() {
		return enabledState;
	}

	public void setEnabledState(String enabledState) {
		this.enabledState = enabledState;
	}

	public Integer getOrdinal() {
		return ordinal;
	}

	public void setOrdinal(Integer ordinal) {
		this.ordinal = ordinal;
	}

	//用于页面展示控制
    private boolean edit=false;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }
    public String getCodeName() {
        return codeName;
    }

    public void setCodeName(String codeName) {
        this.codeName = codeName;
    }
    public String getCodeValue() {
        return codeValue;
    }

    public void setCodeValue(String codeValue) {
        this.codeValue = codeValue;
    }
    public String getSysCodeId() {
        return sysCodeId;
    }

    public void setSysCodeId(String sysCodeId) {
        this.sysCodeId = sysCodeId;
    }

    public boolean isEdit() {
		return edit;
	}

	public void setEdit(boolean edit) {
		this.edit = edit;
	}

	@Override
    public String toString() {
        return "SysCodeItem{" +
        "id=" + id +
        ", code=" + code +
        ", codeName=" + codeName +
        ", codeValue=" + codeValue +
        ", sysCodeId=" + sysCodeId +
        "}";
    }
}
